﻿using Layans.Data;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Layans.Models
{
    public class LlaansNewsDb : DbContext
    {
        public LlaansNewsDb()
            : base("DefaultConnection")
        {
        }

        public IDbSet<NewsCard> NewsCards { get; set; }

        public IDbSet<NewsGift> NewsGits { get; set; }

        public IDbSet<NewsInfo> NewsInfoes { get; set; }

        public IDbSet<NewsMassage> NewsMassages { get; set; }

        public IDbSet<NewsPic> NewsPics { get; set; }

        public IDbSet<NewsPicSmall> NewsPicSmalls { get; set; }

        public IDbSet<NewsPicVote> NewsPicVotes { get; set; }

        public IDbSet<PicAvatarNews> PicAvatarsNewses { get; set; }

        public IDbSet<PicCommentNews> PicCommentNewses { get; set; }


    }
}